package com.ruoyi.dynamic.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.dynamic.model.pojo.entity.RoomMaiRecord;

public interface IRoomMaiRecordService extends IService<RoomMaiRecord> {


    /**
     * 上麦/连线
     */
    void add(Long roomId, String roomNumber, Long userId, Integer maiNum, Integer type, Integer status, String photo, String nickName, Integer star);

    /**
     * 麦位上都没人 申请自动往下排
     */
    Integer getRoomMaiNum(Long roomId, Integer maiNum);


}
